package com.ocom.payconfig.service;

import com.github.pagehelper.PageInfo;
import com.ocom.common.entity.payconfig.EntitySignatureRecord;
import com.ocom.common.request.payconfig.SignatureListRequest;
import com.ocom.common.request.payconfig.SignatureUpdateRequest;
import icu.mhb.mybatisplus.plugln.base.service.JoinIService;

import java.util.Map;

public interface SignatureRecordService extends JoinIService<EntitySignatureRecord> {
    boolean addSign(Long companyId , EntitySignatureRecord entitySignatureRecord);

    boolean revokedSign(Long companyId , SignatureUpdateRequest request);

    PageInfo<Map<String, Object>> getSignList(Long companyId, SignatureListRequest request);
}
